import i18n from '@/i18n'
import { DomainModel } from '@apps/meta/domain/model'
import { ApiProperty } from '@nestjs/swagger'

export class MetaFileTreeVo {
  @ApiProperty({ description: 'ID' })
  id: number

  @ApiProperty({ description: i18n.t('app-meta.vo.meta-file-tree.12152178-0') })
  groupLabel: string

  @ApiProperty({ description: i18n.t('app-meta.vo.meta-file-tree.12152178-1'), type: [DomainModel.MetaFile] })
  files: DomainModel.MetaFile[]
}
